<template>
	<view>
		<u-modal :show="show" @confirm="confirm" @cancel="cancel" @close="cancel" cancelText="取消" confirmColor="#00C2B5" :showCancelButton="true" :closeOnClickOverlay="true" :title="title" :content="content" :asyncClose="true"></u-modal>
	</view>
</template>

<script>
	export default {
		name:"BasePopupModel",
		props: {
			title: {
				type: String,
				default: ''
			},
			content: {
				type: String,
				default: ''
			},
			show: {
				type: Boolean,
				default: false
			}
		},
		data() {
			return {
				
			};
		},
		methods: {
			confirm() {
				this.$emit('confirm')
			},
			cancel() {
				this.$emit('cancel')
			}
		}
	}
</script>

<style lang="scss" scoped>

</style>
